//
//  HelloWorldLayer.h
//  Assignment1Q3Q4
//
//  Created by LxL on 2012-10-17.
//  Copyright __MyCompanyName__ 2012. All rights reserved.
//


#import <GameKit/GameKit.h>
#import "SquareSprite.h"
#import "QuadTree.h"

// When you import this file, you import all the cocos2d classes
#import "cocos2d.h"

// HelloWorldLayer
@interface MainLayer : CCLayer
{
    NSMutableArray *_sprites;
    QuadTree *_tree;
    NSMutableArray *collisionCandidates;
}

// returns a CCScene that contains the HelloWorldLayer as the only child
+(CCScene *) scene;

-(void) update:(ccTime) dt;

@end
